package com.ferry.serial.protobuff;

import com.ferry.serial.api.InputBuf;
import com.ferry.serial.api.OutputBuf;
import com.ferry.serial.api.Serializer;
import com.ferry.serial.api.SerializerType;
import io.protostuff.LinkedBuffer;
import io.protostuff.ProtostuffIOUtil;
import io.protostuff.Schema;
import io.protostuff.runtime.RuntimeSchema;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * Created by daiyong
 */
public class ProtobuffSerializer extends Serializer {

	@Override
	public int code() {
		return 0;
	}

	@Override
	public <T> OutputBuf writeObject(OutputBuf outputBuf, T obj) {
		return null;
	}

	@Override
	public <T> byte[] writeObject(T obj) {
		return new byte[0];
	}

	@Override
	public <T> T readObject(InputBuf inputBuf, Class<T> cls) {
		return null;
	}

	@Override
	public <T> T readObject(byte[] bytes, int offset, int length, Class<T> cls) {
		return null;
	}
}
